package com.bms.client.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.*;
import java.io.Serializable;

/**
 * 费用管理(FeiYongGuanLi)实体类
 *
 * @author makejava
 * @since 2021-03-16 11:25:12
 * @version 1.0
 */
@ApiModel(value = "FeiYongGuanLiZhengJia",description = "费用管理")
public class FeiYongGuanLiZhengJia implements Serializable {

    private static final long serialVersionUID = 2371757289778695281L;
    /**
    * 科研人员id
    */
	@ApiModelProperty(name = "keYanRenYuanId",notes = "科研人员id",dataType = "Integer",required = true)
    @Min(value = 1, message = "keYanRenYuanId不能为0")
    @NotNull(message = "keYanRenYuanId 不能为空")
    private Integer keYanRenYuanId;
    /**
    * 描述
    */
	@ApiModelProperty(name = "miaoShu",notes = "描述",dataType = "String",required = true)
    @NotBlank(message = "miaoShu 描述不能为空")
    @Size(min = 0, max = 25, message = "miaoShu 描述必须在0~25位之间")
    private String miaoShu;
    /**
    * 金额
    */
	@ApiModelProperty(name = "jinE",notes = "金额",dataType = "Double",required = true)
    @DecimalMax(value="99999999.99",message = "jinE 金额字符过长")
    @NotNull(message = "jinE 金额不能为空")
    private Double jinE;
    /**
    * 关联id
    */
	@ApiModelProperty(name = "gaunLianId",notes = "关联id",dataType = "Integer",required = true)
    @Min(value = 1, message = "gaunLianId 关联id必须大于0")
    @NotNull(message = "gaunLianId 关联id不能为空")
    private Integer gaunLianId;


        
    public Integer getKeYanRenYuanId() {
        return keYanRenYuanId;
    }

    public void setKeYanRenYuanId(Integer keYanRenYuanId) {
        this.keYanRenYuanId = keYanRenYuanId;
    }
        
    public String getMiaoShu() {
        return miaoShu;
    }

    public void setMiaoShu(String miaoShu) {
        this.miaoShu = miaoShu;
    }
        
    public Double getJinE() {
        return jinE;
    }

    public void setJinE(Double jinE) {
        this.jinE = jinE;
    }

    public Integer getGaunLianId() {
        return gaunLianId;
    }

    public void setGaunLianId(Integer gaunLianId) {
        this.gaunLianId = gaunLianId;
    }

}